package com.gym.myshop.services;

import com.gym.myshop.entity.Address;

import java.util.List;

/**
 * @author ming
 * 2021/11/7
 * description:地址
 */
public interface AddressSerives {

    //查所有地址
    List<Address> getUserAddreeByUid(int uid);

    //删除地址
    boolean delAddress(Integer aid);
    //添加地址
    boolean insertAddress(Address a);
    //修改地址
    boolean updateAddress(Address a);
    //默认地址修改
    boolean setDeafult(Integer aid,Integer uid);
}
